package com.ruoyi.common.core.domain.entity;

import java.util.List;

import com.ruoyi.common.core.domain.SealJurVo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 印章授权对象 seal_jur
 * 
 * @author ess
 * @date 2021-11-03
 */
public class SealJur extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 授权信息Id  区号+uuid */
    private String sealJurId;

    /** 被授权人Id */
    @Excel(name = "被授权人Id")
    private String sealPersonId;

    /** 印章Id */
    @Excel(name = "印章Id")
    private String sealId;

    /** 授权时间 */
    @Excel(name = "授权时间")
    private String jurTime;

    /** 授权人Id */
    @Excel(name = "授权人Id")
    private String jurUserId;

    /** 到期时间 */
    @Excel(name = "到期时间")
    private String dueTime;

    /** 可签的ip，多个以逗号分隔 */
    @Excel(name = "可签的ip，多个以逗号分隔")
    private String ip;

    /** 使用次数 */
    @Excel(name = "使用次数")
    private Long useCount;

    /** 可签mac地址  */
    @Excel(name = "可签mac地址 ")
    private String mac;

    /** 可签文档类型     多个以@分隔 */
    @Excel(name = "可签文档类型     多个以@分隔")
    private String fileTypeNum;

    /** 可签业务系统的id组合，id之间以@分隔 */
    @Excel(name = "可签业务系统的id组合，id之间以@分隔")
    private String businessSysIds;

    /** 判断是公章还是手签 1公章  0手签 */
    @Excel(name = "判断是公章还是手签 1公章  0手签")
    private Long sealOrHw;

    /** 是否允许转授 */
    @Excel(name = "是否允许转授")
    private Long isAllowTempJur;

    /** 是否已将该授权信息进行了转授  1已转授  0未转授 */
    @Excel(name = "是否已将该授权信息进行了转授  1已转授  0未转授")
    private Long isAlreadyTempJurSeal;

    /** 状态 0有效 1停用 3暂停 */
    @Excel(name = "状态 0有效 1停用 3暂停")
    private Long state;

    /** 安全hash */
    @Excel(name = "安全hash")
    private String safeHash;

    /** 暂停到期时间 */
    @Excel(name = "暂停到期时间")
    private String ztDueTime;


    /** 印章转授管理信息 */
    private List<SealTempjur> sealTempjurList;


    private SealJurVo sealJurVo;

    /** 业务类型组 */
    private Object[] businessSysIdArrs;

   /** 文档类型组 */
    private  Object[] fileTypeNumArr;

    private String sealName;

    private String personName;

//    印章批量授权 传入单位id  type=3时传入
    private String unitId;

//    页面判断手签还是印章  1印章  2手签  3批量印章授权
    private Integer type;

    public void setSealJurId(String sealJurId) 
    {
        this.sealJurId = sealJurId;
    }

    public String getSealJurId() 
    {
        return sealJurId;
    }
    public void setSealPersonId(String sealPersonId) 
    {
        this.sealPersonId = sealPersonId;
    }

    public String getSealPersonId() 
    {
        return sealPersonId;
    }
    public void setSealId(String sealId) 
    {
        this.sealId = sealId;
    }

    public String getSealId() 
    {
        return sealId;
    }
    public void setJurTime(String jurTime) 
    {
        this.jurTime = jurTime;
    }

    public String getJurTime() 
    {
        return jurTime;
    }
    public void setJurUserId(String jurUserId) 
    {
        this.jurUserId = jurUserId;
    }

    public String getJurUserId() 
    {
        return jurUserId;
    }
    public void setDueTime(String dueTime) 
    {
        this.dueTime = dueTime;
    }

    public String getDueTime() 
    {
        return dueTime;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setUseCount(Long useCount) 
    {
        this.useCount = useCount;
    }

    public Long getUseCount() 
    {
        return useCount;
    }
    public void setMac(String mac) 
    {
        this.mac = mac;
    }

    public String getMac() 
    {
        return mac;
    }
    public void setFileTypeNum(String fileTypeNum) 
    {
        this.fileTypeNum = fileTypeNum;
    }

    public String getFileTypeNum() 
    {
        return fileTypeNum;
    }
    public void setBusinessSysIds(String businessSysIds) 
    {
        this.businessSysIds = businessSysIds;
    }

    public String getBusinessSysIds() 
    {
        return businessSysIds;
    }
    public void setSealOrHw(Long sealOrHw) 
    {
        this.sealOrHw = sealOrHw;
    }

    public Long getSealOrHw() 
    {
        return sealOrHw;
    }
    public void setIsAllowTempJur(Long isAllowTempJur) 
    {
        this.isAllowTempJur = isAllowTempJur;
    }

    public Long getIsAllowTempJur() 
    {
        return isAllowTempJur;
    }
    public void setIsAlreadyTempJurSeal(Long isAlreadyTempJurSeal) 
    {
        this.isAlreadyTempJurSeal = isAlreadyTempJurSeal;
    }

    public Long getIsAlreadyTempJurSeal() 
    {
        return isAlreadyTempJurSeal;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setSafeHash(String safeHash) 
    {
        this.safeHash = safeHash;
    }

    public String getSafeHash() 
    {
        return safeHash;
    }
    public void setZtDueTime(String ztDueTime) 
    {
        this.ztDueTime = ztDueTime;
    }

    public String getZtDueTime() 
    {
        return ztDueTime;
    }

    public List<SealTempjur> getSealTempjurList()
    {
        return sealTempjurList;
    }

    public void setSealTempjurList(List<SealTempjur> sealTempjurList)
    {
        this.sealTempjurList = sealTempjurList;
    }


    public SealJurVo getSealJurVo() {
        return sealJurVo;
    }

    public void setSealJurVo(SealJurVo sealJurVo) {
        this.sealJurVo = sealJurVo;
    }

    public String getSealName() {
        return sealName;
    }

    public void setSealName(String sealName) {
        this.sealName = sealName;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public Object[] getBusinessSysIdArrs() {
        return businessSysIdArrs;
    }

    public void setBusinessSysIdArrs(Object[] businessSysIdArrs) {
        this.businessSysIdArrs = businessSysIdArrs;
    }

    public Object[] getFileTypeNumArr() {
        return fileTypeNumArr;
    }

    public void setFileTypeNumArr(Object[] fileTypeNumArr) {
        this.fileTypeNumArr = fileTypeNumArr;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }


    public String getUnitId() {
        return unitId;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sealJurId", getSealJurId())
            .append("sealPersonId", getSealPersonId())
            .append("sealId", getSealId())
            .append("jurTime", getJurTime())
            .append("jurUserId", getJurUserId())
            .append("dueTime", getDueTime())
            .append("ip", getIp())
            .append("useCount", getUseCount())
            .append("mac", getMac())
            .append("fileTypeNum", getFileTypeNum())
            .append("businessSysIds", getBusinessSysIds())
            .append("sealOrHw", getSealOrHw())
            .append("isAllowTempJur", getIsAllowTempJur())
            .append("isAlreadyTempJurSeal", getIsAlreadyTempJurSeal())
            .append("state", getState())
            .append("safeHash", getSafeHash())
            .append("ztDueTime", getZtDueTime())
            .append("sealTempjurList", getSealTempjurList())
            .toString();
    }
}
